package com.baidu.health.service;

import com.baidu.health.util.resFaqVo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.baidu.health.pojo.TbCaseType;
import com.baidu.health.service.TbCaseTypeService;
import com.baidu.health.mapper.TbCaseTypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class TbCaseTypeServiceImpl extends ServiceImpl<TbCaseTypeMapper, TbCaseType>
    implements TbCaseTypeService{
    @Autowired
    TbCaseTypeMapper tbCaseTypeMapper;

    @Override
    public resFaqVo caseType() {
        List<TbCaseType> list=tbCaseTypeMapper.selectList(null);
        return new resFaqVo(200, "cg", list);
    }

//    @Override
//    public resFaqVo caseType() {
//        List<TbCaseType> listtypelist=tbCaseTypeMapper.selectList(null);
//        return new resFaqVo(200, "成功", listtypelist);
//    }
}




